package com.serial.comm.modular.serialPort.service.impl;

import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.serial.comm.modular.serialPort.dao.TelegramMapper;
import com.serial.comm.modular.serialPort.model.Telegram;
import com.serial.comm.modular.serialPort.model.TelegramVo;
import com.serial.comm.modular.serialPort.service.ITelegramService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 * 有效电报信息表 服务实现类
 * </p>
 *
 * @author chentl123
 * @since 2020-02-21
 */
@Service
public class TelegramServiceImpl extends ServiceImpl<TelegramMapper, Telegram> implements ITelegramService {

    @Resource
    private TelegramMapper telegramMapper;

    @Override
    public List<Telegram> getTelegramList(Page<Telegram> page, TelegramVo telegramVo) {
        return telegramMapper.getTelegramList(page, telegramVo);
    }
}
